// 基于template/src/widgets/\{{appEntities}}/\{{ctrls@LIST}}-list/\{{ctrls@LIST}}-list-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
export class {{pascalCase ctrl.name}}ControlVO extends ControlVOBase {
	constructor(data: any) {
		super(data);
		// 列表自持属性
		this.$ownKeys = ['{{lowerCase ctrl.psAppDataEntity.codeName}}',{{#each ctrl.psDEListDataItems as |dataItem|}}'{{lowerCase dataItem.name}}'{{#unless @last}}, {{/unless}}{{/each}}];
	}
{{#each ctrl.psDEListDataItems as |dataItem|}}
	{{#if dataItem.psAppDEField}}
	get {{lowerCase dataItem.name}}() {
		return this.$DO.{{lowerCase dataItem.psAppDEField.codeName}};
	}
	set {{lowerCase dataItem.name}}(value: any) {
		this.$DO.{{lowerCase dataItem.psAppDEField.codeName}} = value;
	}

	{{/if}}
{{/each}}
	set {{lowerCase ctrl.psAppDataEntity.codeName}}(value: any) {
		this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}} = value;
	}
	get {{lowerCase ctrl.psAppDataEntity.codeName}}() {
		return this.$DO.{{lowerCase ctrl.psAppDataEntity.keyPSAppDEField.codeName}};
	}
}